package com.lqwu.manymanythumb.mapper;

import com.lqwu.manymanythumb.model.entry.Blog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
* @author 伍立权
* @description 针对表【blog】的数据库操作Mapper
* @createDate 2025-05-18 23:46:31
* @Entity com.lqwu.manymanythumb.model.entry.Blog
*/
@Mapper
public interface BlogMapper extends BaseMapper<Blog> {
    /**
     * 批量更新点赞数
     * @param countMap
     */
    void batchUpdateThumbCount(@Param("countMap") Map<Long, Long> countMap);
}




